import request from '@/utils/request'

// 获取登录人设备
export function obtainDevice() {
  return request({
    url: '/zy/equipment/obtainDevice',
    method: 'get'
  })
}

// 根据设备编号获取设备数据
export function obtainDeviceData(params) {
  return request({
    url: '/zy/equipment-data/obtainDeviceData',
    method: 'get',
    params
  })
}
